<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<title>..::ACOTA DEMO::..</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Type" content="text/html;" />

	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
	<link rel="stylesheet" type="text/css" href="css/estilos.css" /> 	
	</head>
	<body>
	<div id="big_wrapper">
		<div id="header">
			<img src="img/logo.png" id="logo_head"></img>
			<h1>ACOTA DEMO</h1>
		</div>
		<div id="wrapper">
			<form id="frm_insert" name="frm_searchs">
			<fieldset id="fld_docByTag">
				<legend>Insert document</legend>
				<input type="hidden" id="txt_feedUser" value="666" />
				<input type="hidden" id="txt_feedTags"/>
				<label for="txt_title" id="lbl_title">Title:</label> 
				<input type="text" id="txt_title" onblur="getSuggetions();" />
				
				<label for="txt_description" id="lbl_description">Description:</label> 
				<textarea id="txt_description" onblur="getSuggetions();"></textarea>
				
				<label for="txt_uri" id="lbl_uri">URL:</label> 
				<input type="text" id="txt_uri" onblur="getSuggetions();" />
				
				<fieldset id="fld_selectedTags">
					<legend>Selected Tags</legend>
					<section id="txt_tags"/></section>
					<label for="txt_ownTag" id="lbl_ownTag">Add other tag:</label>
					<input type="text" id="txt_ownTag" />
					<input type="button" class="button" value="add" onclick="newTag()" />
				</fieldset>
				
				<fieldset id="fld_suggetedTags">
				<legend>Suggested tags</legend>
				<section id="sec_suggetions"></section>
				</fieldset>
				
				<section id="sec_saveSuggetions"></section>
				
				<input type="button" class="button" value="save" id="btn_saveDocument" onclick="saveDocument();"/>
			</fieldset>
			</form>
			
			<form id="frm_searchs" name="frm_searchs">
			<fieldset id="fld_docByTag">
				<legend>List  of documents by tags</legend>
				<label for="txt_label" id="lbl_etiqueta">Tag:</label> 
				<input type="search" id="txt_label" /><p class="example">Example: "proyecto"</p>
				<input type="button" class="button" value="ok" id="btn_buscarDocs" onclick="getDocByTag();"/>
			</fieldset>
			
			<fieldset id="fld_tagByUser">
				<legend>List of tags by user</legend>
				<label for="txt_user" id="lbl_user">User:</label> 
				<input type="search" id="txt_user" /><p class="example">Example: "2257"</p>
				<input type="button" class="button" value="ok" id="btn_tagByUser" onclick="getTagByUser();"/>
			</fieldset>
			
			<fieldset id="fld_tagByDocument">
				<legend>List of tags by documents</legend>
				<label for="txt_docuri" id="lbl_docuri">Documento:</label> 
				<input type="search" id="txt_docuri" /><p class="example">Example: "http://weso.es/weso/acota/imaginn/resource/test/1337677458247/"</p>
				<input type="button" class="button" value="ok" id="btn_tagByDocument" onclick="getTagByDocument();"/>
			</fieldset>
			
			</form>
			
			<div id="sec_results">
				<section id="sec_resultQueries"></section>
			</div>
			<div style="clear:both;"></div>
		</div>
		<div id="footer">
		© 2011 <a href="http://www.weso.es">WESO</a>
		</div>
	</div>
	</body>
</html>
